package com.ysd.salepromotion.service;

import java.util.List;

import javax.servlet.http.HttpServletRequest;

import com.ysd.common.entity.Product;
import com.ysd.salepromotion.common.JSONResult;
import com.ysd.salepromotion.common.ResultList;
import com.ysd.salepromotion.param.in.AddActiveRuleRequestType;
import com.ysd.salepromotion.param.in.QueryAllActiveRequestType;

public interface SalePromotionService {

	JSONResult addActiveRule(AddActiveRuleRequestType request);

	JSONResult updateActive(AddActiveRuleRequestType request);

	ResultList queryAllActives(QueryAllActiveRequestType request);

	ResultList queryAllActivesGroup(HttpServletRequest request);

	ResultList delActive(long aId);

	ResultList addMsProductList(List<Product> request);

	ResultList queryProListByAId(String activeId);

	ResultList queryMSProList();

	ResultList delMSProList(long msPid);

}
